package com.ejuornal.service;

import com.ejuornal.bean.Role;
import java.util.List;
/**
 * @className:RoleService.java
 * @decription:
 * @author:梁胜彬
 * @createDate:2013-1-26 下午3:21:22
 * @version:
 */
public interface RoleService {
	/**
	 * 添加权限
	 * @param role
	 */
	public void add(Role role);
	/**
	 * 删除权限
	 * @param roleId
	 */
	public void delete(int roleId);
	/**
	 * 查找所有
	 * @return
	 */
	public List<Role> findAll();
	public boolean batchUpdate();
}
